import { announcementAPI } from "../../api/announcement";

Page({
  data:{
    list:[]
  },
  async onLoad(){
    // wx.utils.toast('加载成功'),
    const res = await announcementAPI()
    // console.log(res);
    this.setData({
      list: res.data
    })
  },
})
